﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AfterTheDeadline;

namespace AfterTheDeadlineDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            // see the following page for instruction on how to correctly use the application and user keys
            // http://www.afterthedeadline.com/api.slp
            AfterTheDeadlineService.InitService("my_app_key", "ABCDABCDABCDABCDABCDABCDABCDABCD");

            string data = "I used to knew only speling";

            List<Error> documentErrors = AfterTheDeadlineService.CheckDocument(data).ToList();
            List<Error> GrammarErrors = AfterTheDeadlineService.CheckGrammar(data).ToList();
            string info = AfterTheDeadlineService.Info("to+be");
            List<Metric> stats = AfterTheDeadlineService.Stats(data).ToList();
        }
    }
}
